package me.msz.application.m2copy.constants;

/**
 * Created by MeiSZ on 2016/12/10.
 */
public enum ExitCodes {
    EXIT_SUCCESS("execute successfully."),
    EXIT_UNRECOGNIZED_OPTION("execute failed, for there are unrecognized options set."),
    EXIT_MISSING_OPTION("execute failed, for there are required options missed."),
    EXIT_UNRECOGNIZED_ARGUMENTS("execute failed, for there are unrecognized arguments."),
    EXIT_MISSING_ARGUMENTS("execute failed, for there are some option(s) miss their arguments."),
    EXIT_INVALID_ARGUMENTS("execute failed, for there are some invalid arguments."),
    EXIT_UNKNOWN_REASON("execute failed, for unknown reasons.");

    ExitCodes(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return this.info;
    }

    private String info;
}
